package org.springblade.desktop.timing;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TaskUtils {
	@Scheduled(cron = "0 0 1 * * ?")//cron表达式  每周一23：59：59运行 59 59 23 0 0 1
	public void doTask(){
		System.out.println("大家好！我来更新信息了，");
	}
}
